<!DOCTYPE HTML>
<html lang="en">
<head lang="en">
   <title>The xgps client</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <meta name="Author" content="Eric S. Raymond">
   <meta name="Revised" content="9 April 2015">
   <meta name="robots" content="index,follow">
   <meta name="Description" content="xgps, a sample gpsd client in C">
   <meta name="Keywords" content="GPS, xgps, gpsdd">
   <link rel="stylesheet" href="main.css" type="text/css" media='all'>
   <meta name="MSSmartTagsPreventParsing" content="TRUE">
</head>
<body>

<div id="Header">
The xgps client
</div>

<div id="Menu">
    <img src="gpsd-logo-small.png" alt="Small gpsd Logo" height="126"
    width="105"><br>
    <a href="index.html">Home</a><br>
    <a href="index.html#news">News</a><br>
    <a href="index.html#downloads">Downloads</a><br>
    <a href="index.html#mailing-lists">Mailing lists</a><br>
    <a href="index.html#documentation">Documentation</a><br>
    <a href="faq.html">FAQ</a><br>
    Screenshots<br>
    <a href="index.html#recipes">Recipes</a><br>
    <a href="index.html#others">Other GPSDs</a><br>
    <a href="hardware.html">Hardware</a><br>
    <a href="for-vendors.html">For GPS Vendors</a><br>
    <a href="wishlist.html">Wish List</a><br>
    <a href="hall-of-shame.html">Hall of Shame</a><br>
    <a href="troubleshooting.html">Troubleshooting Guide</a><br>
    <a href="hacking.html">Hacker's Guide</a><br>
    <a href="protocol-transition.html">Application Compatibility</a>
    <a href="references.html">References</a><br>
    <a href="history.html">History</a><br>
    <a href="future.html">Future</a><br>

    <div>&nbsp;</div>

    <a href='http://www.catb.org/hacker-emblem/'><img
    src='glider.png' alt='hacker emblem' height="55" width="55"></a><br>

    <script src="https://www.openhub.net/p/3944/widgets/project_thin_badge.js"></script>

    <hr>
    <script><!--
    google_ad_client = "pub-1458586455084261";
    google_ad_width = 160;
    google_ad_height = 600;
    google_ad_format = "160x600_as";
    google_ad_type = "text";
    google_ad_channel = "";
    //--></script>
    <script src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <hr>

    <a href="https://validator.w3.org/check/referer"><img
          src="https://www.w3.org/Icons/valid-html401"
          alt="Valid HTML 4.01!" height="31" width="88"></a>
</div>

<div id="Content">

<p>Included in the package is a sample client called <code>xgps</code>. It
connects to a <code>gpsd</code> at any host you tell it to, and
requests raw data, so that it can display the current location of all
visible GPS satellites your receiver 'sees'.</p>

<p><img src="gpsd1.png" alt="[image] The GPS receiver has no fix yet."></p>

<p>The GPS receiver has not yet acquired a fix.  The receiver has not
tracked the grey satellites, but knows where they should be.</p>

<p>The next image shows a good fix. A 3d fix provides latitude, longitude
as well as altitude data, and requires at least four good satellites. A
2d fix does not give altitude, but only requires 3 satellites.</p>

<p><img src="gpsd2.png" alt="[image] The GPS receiver has a good 3d fix."></p>

<p>Depending on your GPS receiver, the additional satellites may be used
to determine location with better accuracy.</p>

<hr>
<script src="datestamp.js"></script>
</div>
</body>
</html>



